package com.zbkj.dal.entity.partner;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_partner_role_card_pay_log")
@ApiModel(value = "用户合伙人角色卡开卡支付记录", description = "用户合伙人角色开卡记录表")
public class PartnerRoleCardPayLog {
    @ApiModelProperty(value = "用户合伙人角色Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "合伙人角色ID")
    private Integer roleId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "用户合伙人角色卡Id")
    private Integer roleCardId;

    @ApiModelProperty(value = "角色卡号")
    private String roleCardNo;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "支付到期时间")
    private String expiredTime;

    @ApiModelProperty(value = "支付状态 WAIT 待支付（默认） FIAL 支付失败 SUCC 支付成功")
    private String payStatus;

    @ApiModelProperty(value = "支付渠道 WXPAY 微信支付 ALIPAY 支付宝")
    private String payChannel;

    @ApiModelProperty(value = "支付流水号")
    private String payNo;

    @ApiModelProperty(value = "第三方流水号")
    private String thirdPayNo;

    @ApiModelProperty(value = "呈享订单流水号")
    private String duesOrderNo;
}
